#ifndef TRIANGLE_H
#define TRIANGLE_H
#include"myfirst.h"

class MYFIRSTSHARED_EXPORT Triangle: public Figure
{
private :
    float a,x1,x2,turn;
public :
    Triangle(float first);//  по умолчанию координаты данной фигуры
    Triangle(float first,float firstPosition,float secondPosition,float povorot);
    float perimetr();
    float ploshadb();
    QString print_name();
    QList <QString> print_inf();
    void chengeKoordinat(float firstX,float secondX);

};
#endif // TRIANGLE_H
